{if !$forecast.active } {assign var="pips" value=`$forecast.close.pip`} {else} {assign var="pips" value=`$forecast.pip`}{/if}{assign var="fstr" value="%0.`$forecast.decimal`f"}{if 1==$forecast.side} {assign var="operation" value="SELL"} {else}{assign var="operation" value="BUY"}{/if}{if 0==$trade_mode} {assign var="mode" value="OPEN"}{else}{assign var="mode" value="CLOSE"}{/if}user:{$user}
password:{$pass}
api_id:{$api_id}
to:{$phone}
from:Intelli4x
urltext:{if $forecast.color }{$forecast.system.name}: %0ATime: {if !$forecast.active }{$forecast.close.time|date_format:"%Y-%m-%d %I:%M %p GMT"}{else}{$forecast.begin.time|date_format:"%Y-%m-%d %I:%M %p GMT"}{/if} %0A{$mode} {if !$forecast.active }{$forecast.close.reason}{/if} {$forecast.pair} {$operation} MARKET ORDER @ {if !$forecast.active }{$forecast.close.price|string_format:"`$fstr`"}{else}{$forecast.begin.price|string_format:"`$fstr`" }{/if} %0ALots: {$forecast.size} %0A{if !$forecast.active }NET P/L: {$pips} pips{else}TP:{if !$forecast.flag.end.price} {$forecast.end.price|string_format:"`$fstr`"}{else} -{/if} %0ASL: {$forecast.stop.price|string_format:"`$fstr`"|default:"-"}{/if} %0AID: {$forecast.system.shortname}{$forecast.id}{/if}